use_frameworks!

platform :ios, '12.0'

target 'CAIDBManager_Example' do
  pod 'CAIStorageManager', :path => '../'

  target 'CAIDBManager_Tests' do
    inherit! :search_paths

    pod 'Specta'
    pod 'Expecta'
    pod 'FBSnapshotTestCase'
    pod 'Expecta+Snapshots'
  end
end

#在xcode15之后，移除了iOS12之前的某个库，所以必须iOS12以上才能在真机运行，不然缺少库无法运行。
post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
            config.build_settings['CODE_SIGN_IDENTITY'] = ''
        end
    end
end
